package com.openbravo.ws.customers;

import java.io.Serializable;
import javax.xml.namespace.QName;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.ser.BeanDeserializer;
import org.apache.axis.encoding.ser.BeanSerializer;

public class Customer extends BusinessPartner
  implements Serializable
{
  private static final long serialVersionUID = 9783582244150L;
  private Object __equalsCalc = null;
  private boolean __hashCodeCalc = false;
  private static TypeDesc typeDesc = new TypeDesc(Customer.class, true);

  public Customer()
  {
  }

  public Customer(String paramString1, Boolean paramBoolean1, Contact[] paramArrayOfContact, Boolean paramBoolean2, String paramString2, String paramString3, Location[] paramArrayOfLocation, String paramString4, String paramString5, Boolean paramBoolean3)
  {
    super(paramString1, paramBoolean1, paramArrayOfContact, paramBoolean2, paramString2, paramString3, paramArrayOfLocation, paramString4, paramString5, paramBoolean3);
  }

  public synchronized boolean equals(Object paramObject)
  {
    if (!(paramObject instanceof Customer))
      return false;
    Customer localCustomer = (Customer)paramObject;
    if (paramObject == null)
      return false;
    if (this == paramObject)
      return true;
    if (this.__equalsCalc != null)
      return this.__equalsCalc == paramObject;
    this.__equalsCalc = paramObject;
    boolean bool = super.equals(paramObject);
    this.__equalsCalc = null;
    return bool;
  }

  public synchronized int hashCode()
  {
    if (this.__hashCodeCalc)
      return 0;
    this.__hashCodeCalc = true;
    int i = super.hashCode();
    this.__hashCodeCalc = false;
    return i;
  }

  public static TypeDesc getTypeDesc()
  {
    return typeDesc;
  }

  public static Serializer getSerializer(String paramString, Class paramClass, QName paramQName)
  {
    return new BeanSerializer(paramClass, paramQName, typeDesc);
  }

  public static Deserializer getDeserializer(String paramString, Class paramClass, QName paramQName)
  {
    return new BeanDeserializer(paramClass, paramQName, typeDesc);
  }

  static
  {
    typeDesc.setXmlType(new QName("/services/WebService", "Customer"));
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.ws.customers.Customer
 * JD-Core Version:    0.6.0
 */